package com.jeecms.wicool.manager.cms;

import java.util.List;

import com.jeecms.cms.entity.main.CmsUser;
import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.entity.cms.CmsNewInfo;

public interface CmsNewInfoMng {
	public Pagination getPage(String title,int pageNo, int pageSize,CmsUser user);
	public CmsNewInfo findById(Integer id); 
	public CmsNewInfo update(CmsNewInfo bean,Integer shopId);
	public CmsNewInfo save(CmsNewInfo bean,Integer shopId);
	public CmsNewInfo deleteById(Integer id);
	public CmsNewInfo[] deleteByIds(Integer[] ids);
	
	public List<CmsNewInfo> getAll(CmsUser user);
	
	public CmsNewInfo findByContentId(Integer contentId);
	
}